package cn.hznc.repository;

import cn.hznc.domain.entity.AssemblyToolInventoryEntity;
import cn.hznc.vo.WarehouseInventoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author：Administrator
 * @Date：2023/6/1 11:30
 */
public interface AssemblyToolInventoryRepository{
    Integer getIdByToolNo(@Param("toolNo")String toolNo);

    String selectTypeByToolNo(@Param("toolNo") String toolNo);


    List<WarehouseInventoryVo> getWarehouseInventoryByToolNo(String toolNo);


    List<String> qryAllTypeName();


    List<String> selectToolNoByType(@Param("type") String type);

    AssemblyToolInventoryEntity selectByToolNo(@Param("toolNo") String toolNo);

    String selectImageByToolNo(@Param("toolNo") String toolNo);

    String selectToolNoById(@Param("id") Integer assemblyToolInventoryId);

    void deleteBatchByToolNo(@Param("toolNos") List<String> toolNos);
}
